<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport">
    <link rel="stylesheet" href="https://cdn.bootcss.com/weui/1.1.3/style/weui.min.css">
    <link rel="stylesheet" href="https://cdn.bootcss.com/jquery-weui/1.2.1/css/jquery-weui.min.css">
    <link rel="stylesheet" href="./css/login.css">
    <script src="https://cdn.bootcss.com/jquery/1.11.0/jquery.min.js"></script>
    <script src="https://cdn.bootcss.com/jquery-weui/1.2.1/js/jquery-weui.min.js"></script>
    <script src="https://cdn.bootcss.com/jquery-weui/1.2.1/js/swiper.min.js"></script>
    <script src="https://cdn.bootcss.com/jquery-weui/1.2.1/js/city-picker.min.js"></script>
    <script type="text/javascript" src="js/node_modules/jquery-weui/dist/js/city-picker.js" charset="utf-8"></script>


    <title>注册和登录</title>
</head>

<body>
    <div class="login">
        <div class="logo-box">
            <img src="./images/u187.png" alt="">
        </div>
        <div class="weui-tab">
            <div class="weui-navbar">
                <a class="weui-navbar__item weui-bar__item--on" href="#tab1">
                    注册
                </a>
                <a class="weui-navbar__item" href="#tab2">
                    登录
                </a>
            </div>

            <div class="weui-tab__bd">
                <div id="tab1" class="weui-tab__bd-item weui-tab__bd-item--active">
                    <div class="weui-cell">
                        <div class="weui-cell__hd"><label class="weui-label">真实姓名*</label></div>
                        <div class="weui-cell__bd">
                            <input class="weui-input" type="number" placeholder="请输入姓名">
                        </div>
                    </div>
                    <div class="weui-cell">
                        <div class="weui-cell__hd"><label class="weui-label">手机号*</label></div>
                        <div class="weui-cell__bd">
                            <input class="weui-input" type="number" placeholder="请输入手机号">
                        </div>
                    </div>
                    <div class="weui-cell">
                        <div class="weui-cell__hd"><label class="weui-label">城市</label></div>
                        <div class="weui-cell__bd">
                            <input type="text" id='city-picker' />
                        </div>
                    </div>
                    <div class="weui-cell">
                        <div class="weui-cell__hd"><label class="weui-label">身份证号码</label></div>
                        <div class="weui-cell__bd">
                            <input class="weui-input" type="text" placeholder="请输入身份证号码">
                        </div>
                    </div>
                    <div class="weui-cell">
                        <div class="weui-cell__hd"><label class="weui-label">支付宝账号</label></div>
                        <div class="weui-cell__bd">
                            <input class="weui-input" type="text" placeholder="请输入支付宝账号">
                        </div>
                    </div>
                    <div class="weui-cell">
                        <div class="weui-cell__hd"><label class="weui-label">登录密码*</label></div>
                        <div class="weui-cell__bd">
                            <input class="weui-input" type="password" placeholder="（6-16位字符,包括数字，大小写英文）">
                        </div>
                    </div>
                    <div class="weui-cell">
                        <div class="weui-cell__hd"><label class="weui-label">确认密码*</label></div>
                        <div class="weui-cell__bd">
                            <input class="weui-input" type="password" placeholder="请输入密码">
                        </div>
                    </div>
                    <a href="javascript:;" class="weui-btn weui-btn_warn">注册</a>
                     <!-- 服务电话 -->
                     <footer>
                        <span class="serviceCall"><i>客服电话：400-015-05020</i></span>
                        <div class="serviceLine"></div>
                    </footer>


                </div>
                <!-- 登录页面 -->
                <div id="tab2" class="weui-tab__bd-item">
                    <div class="weui-cell">
                        <div class="weui-cell__hd"><label class="weui-label">手机号*</label></div>
                        <div class="weui-cell__bd">
                            <input class="weui-input" type="number" placeholder="请输入手机号">
                        </div>
                    </div>
                    <div class="weui-cell">
                        <div class="weui-cell__hd"><label class="weui-label">登录密码*</label></div>
                        <div class="weui-cell__bd">
                            <input class="weui-input" type="password" placeholder="请输入密码">
                        </div>
                    </div>
                    <a href="javascript:;" class="weui-btn weui-btn_warn">登录</a>
                    <!-- 服务电话 -->
                    <footer>
                        <span class="serviceCall"><i>客服电话：400-015-05020</i></span>
                        <div class="serviceLine"></div>
                    </footer>

                </div>
            </div>
        </div>
    </div>

</body>
<script>
    $("#city-picker").cityPicker({
        title: "请选择地址"
    });
</script>



</html>